package com.shiyanlou.upms.system.service;

import com.shiyanlou.upms.system.domain.UpmsOrganization;

import java.util.List;
import java.util.Map;

public interface UpmsOrganizationService {

    int deleteByPrimaryKey(Integer organizationId);

    int insert(UpmsOrganization record);

    int insertSelective(UpmsOrganization record);

    UpmsOrganization selectByPrimaryKey(Integer organizationId);

    int updateByPrimaryKeySelective(UpmsOrganization record);

    int updateByPrimaryKey(UpmsOrganization record);
    //总记录数
    int count(Map<String,Object> map);
    //分页列表
    List<UpmsOrganization> list(Map<String,Object> map);
    //批量删除
    int batchRemove(Integer[] userIds);
}
